Skip to content

feat: implement IndexerService for InvoiceMinted events#12

Merged
AlAfiz merged 2 commits intoBETAIL-BOYS:mainfrom
lifewithbigdamz:feat/indexer-service
Feb 20, 2026
Merged

feat: implement IndexerService for InvoiceMinted events#12
AlAfiz merged 2 commits intoBETAIL-BOYS:mainfrom
lifewithbigdamz:feat/indexer-service

Conversation

@lifewithbigdamz
Copy link
Copy Markdown
Contributor

  • Create IndexerService with Stellar SDK integration
  • Implement onModuleInit lifecycle hook for auto-startup
  • Add 5-second polling for server.getEvents()
  • Filter InvoiceMinted events from INVOICE_NFT_CONTRACT_ID
  • Log invoice_id and amount to console
  • Register service in AppModule
  • Update .env.example with Stellar configuration

Fixes #4

Oladosu Paul added 2 commits February 20, 2026 02:12
- Create IndexerService with Stellar SDK integration
- Implement onModuleInit lifecycle hook for auto-startup
- Add 5-second polling for server.getEvents()
- Filter InvoiceMinted events from INVOICE_NFT_CONTRACT_ID
- Log invoice_id and amount to console
- Register service in AppModule
- Update .env.example with Stellar configuration

Fixes BETAIL-BOYS#4
- Remove unused Horizon import
- Fix Server import to resolve build error
@AlAfiz AlAfiz merged commit fef62d6 into BETAIL-BOYS:main Feb 20, 2026
1 check failed
JerryIdoko pushed a commit to JerryIdoko/TradeFlow-API that referenced this pull request Mar 26, 2026
…ervice

feat: implement IndexerService for InvoiceMinted events
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feat: listen for InvoiceMinted events

2 participants